package com.youlu.campus.entity;


import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document(collection = "activity_channel_statistics")
public class ActivityChannelStatistics extends EntityBase {

    @Indexed
    private String activityId;

    private String  channelName;


    private String channelCode;

    /**
     * uv
     */
    @Transient
    private Long uvCount =0L;
    /***
     * pv
     */
    @Transient
    private Long pvCount = 0L;
    /**
     * 报名人数
     */
    private Long signUpCount =0L;

    /**
     * h5链接
     */
    @Transient
    private String h5Url;

    /**
     * h5短链接
     */
    @Transient
    private String h5ShortUrl;

    /**
     * h5进度页
     */
    @Transient
    private String h5ProgressUrl;

    /**
     * 报名率
     */
    @Transient
    private Double signUpRatio =0D;

}
